package com.fy.dao;

import com.fy.entity.Ca_info;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;
@Mapper
public interface Ca_infoMapper {
    @Select("select * from ca_info")
    List<Ca_info> findAll();
    @Insert("INSERT into ca_info(ca_id,ca_pic,ac_id) values (#{ca_id},#{ca_pic},#{ac_id})")
    int insert_ca_info(@Param("ca_id") String ca_id,@Param("ca_pic") String ca_pic,@Param("ac_id") String ac_pic);
}
